/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.xstgongyi.eduaid.dataobject.VolunteerDO;

/**
 * @author oldcrane<br/>
 * @created 2019-04-17
 */
@Mapper
public interface VolunteerMapper {

	VolunteerDO getById(Integer id);

	List<VolunteerDO> listAll();

	List<VolunteerDO> listPage(Map<String, Object> condition);

	int countTotal(Map<String, Object> condition);

	int insert(VolunteerDO volunteer);

	int update(VolunteerDO volunteer);

}
